package com.community.consumer.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 阿里云支付配置实体类
 */
@Data
public class AlibaConfig {

    /**
     * 支付宝网关
     */
    private  String URL = "https://openapi.alipaydev.com/gateway.do";
//    private final String URL = "https://openapi.alipay.com/gateway.do";

    /**
     * APPID
     */
    private  String APPID = "2021000122603627";
//    private final String APPID = "2021003171669199";

    /**
     * 私钥
     */
    private  String PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDOmPMTxeWXvAcJrNGj9fzDnvS8VIrEIA1EjIuY+SPKIVvasF9K6XlHzIQf3vcM4/YI58h6OcDivxgrzrwxGliPDl0Bz/LQSG5GaH39YHwMZMS20nol5ad1jc7gC4YSSbjT5ITVP3DZHoqMDAZOG9rbjjutu9brWobcvbYCbLKT7h7x6R6GID9eR7yb1WYTGfeFYuh/z7DkUxHUgOKuXboxJ+H6yup8mhbYhwwcw3QpqzB/bHGn/nB3KKgeteiCDXBJJWZDFeY1Z2WpZkOjL4hWHpRf0p50eYk9LEgxlg2vzb2WOxa3KahhRFalEmiULzv0ixu4X8JwRxK5Spf9LHlFAgMBAAECggEAWwf/y02enZ4nB7dTZEiGSHfo5Hbn8gUhc3vuIshcYbsTKygdxPddDirqaNSozNBBX6kpp9l8ySxkbSEZwRUXwmkUyDClj+rqVDHEmfmCjz9zgg757Wrkv6JtbkEFoVdEjnEZqpDam4CekZjWymHxrF5eo22qBGgOFoOtCCJ3CUDO5URx5XY0ftBf4irIaL2gOrpfgbzVw2nSKbEw9vDJsM9IlwKZCiQ2p9aT8wIZLPuoWVD5iNkvviIYejHtrJiOd+9D+ueHVGUQfRPlg8HF8EobrCuKiIh18MfBs0DAxR3l+0VkCkKEgmIvyCy0TRPMTKQQ5+28e8irwSSWhlC6oQKBgQD0+dET8GDKzIm3VO2gZTC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6Z+mgshYUjwKBgGHygu2/pJvWXLiYDDFJN+t1jYU76j/O5ptt4pVARuTj/oIRzKlBAhrS/XlxNmQZ1sqN5ZotfkdTH1jTIFsC8NmwMLtgVDNpsQr65mYa4A0znt3hTXjQ+Eu/m7FFUvxLWa2Wj73Qt6Wnw8FySPwPiC61Loiawkqhhlh/NzRa0pUVAoGBAJ5SJloCO2OzOa37YQn9MTXNTZIRhjpebY7qxl7A8Ry9jyuwb3p/xN1bc3XsaZXOsCulfOg7v41UE2ktMgUySpFVyivRy1iCnM1BzZQOoLP9OXwzwwI/XX6YGW6yreIAy5sQis+irIn9toCcMdGC446bbAABtXoCusXaSfla49Rv";

    /**
     * 参数返回格式
     */
    private  String FORMAT  ="JSON";

    /**
     * 编码集
     */
    private  String CHARSET = "UTF-8";

    /**
     * 算法
     */

    private  String SIGN_TYPE = "RSA2";

    /**
     * 公钥
     */
    private  String ALIPAY_PUBLIC_KEY  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlhvnoorMXKjkWo0tgfAtQMtXvNm7MyO/2BSfpnGn30Ht5vU9nMtA+MOcyEOd4oZoGjSPuX9NGzhgVlBPq8v/Nnk6e50Q1za0+/oeDxOFuE4FcVz/iCbiT9YeSwuNyZTLRvr64wxzHDTzp3hg4G9o1PO+HP9AbidAOY0pXFpAv9iV8UYVr85vicP/5waLBLLO4xB96V8PxMkmJuoXqKXAKGZ2nUlsaBBl6lGMCd/KhUhsgj89mxkwIhKOPMfHzLiR8w4vORkfEtp3xM5vcPYoEWxvNr9w0lx/IROUQqA3iEdfUMO/VwXbGyiYKDJFjZ5A4Pso9EHT2bexg+HJUr1lDwIDAQAB";
    //private final String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjMVYIUU0jEkaEhyPiuKq3VwZXDfCI5/kk97pbGezIIGl3oYKut+Uymm53ErUkY1LRdl3ujny+nAnVCFou2eqXcM+VUE6TQ7mK2iTcDjTup5KrFhc1I/tzQTMi3iKSV4eixYVBc4tqjq443ER6H/wacntXUqkHnl7UITWKRidjoPZzR6Iwj1XutWkO6CGI7sEoTG58d7/Wp7wjQfgl5rTl3m9XX3yVQA5ivyuGXapILWFn1knsaSvQ8kckS0xpRDorePZsz54BcG+RhpXcsqFm+zpNMpnR2pAYUt7BTXOWLNurpKbXv/PH50qZ1Z92em/HFlii/s+V6rkXnQE6arTwwIDAQAB";


    // 回调地址
    private  String notifyUrl  = "http://h84s7e.natappfree.cc/alipay/notify";

    private  String returnUrl = "http://localhost:9528/#/consumer/groupMore" ;


}
